# Contributor: Coco Liliace <coco@liliace.dev>
# Maintainer: Coco Liliace <coco@liliace.dev>
pkgname=tick
pkgver=1.1.0
pkgrel=0
pkgdesc="A preset-oriented TUI metronome"
url="https://sr.ht/~liliace/tick/"
arch="all"
license="GPL-3.0-only"
makedepends="alsa-lib-dev scdoc"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~liliace/tick/archive/$pkgver.tar.gz"

build() {
	make release
	make doc
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" PREFIX="/usr" install
}

sha512sums="
f30c3ec8d561cb0bb8969bb9bf5e5e6a9bcc316838657ef3a81808f0731dbc8c28ad1ac43f15cb6b12bd8bcd22eb0e9591b16ed4a3cfd0a90a1593e1339ecd4d  tick-1.1.0.tar.gz
"
